﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction Id="CodeCounsel.SharePoint.NavigationService.TestPageLink"
                Title="CodeCounsel.SharePoint.NavigationService.TestPageLink"
                Location="CommandUI.Ribbon">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition Location="Ribbon.SvcApp.Operations.Controls._children">
          <Button Id="Ribbon.SvcApp.Operations.NavigationServiceTest" 
                  LabelText="Navigation Test" 
                  Command="Ribbon.SvcApp.Operations.NavigationServiceTest" 
                  Image32by32="/_layouts/images/CodeCounsel.SharePoint.NavigationService/logo.jpg"
                  TemplateAlias="o1" />
        </CommandUIDefinition>
      </CommandUIDefinitions>
      <CommandUIHandlers>
        <CommandUIHandler Command="Ribbon.SvcApp.Operations.NavigationServiceTest"
                          CommandAction="~site/_admin/CodeCounsel.SharePoint.NavigationService/TestPage.aspx" />
      </CommandUIHandlers> 
    </CommandUIExtension>
  </CustomAction>
</Elements>